import request from '@/utils/request';

// 获取搜索下拉框数据
export function getModelList() {
  return request({
    url: `v1/statistics/operateLog/list_model`,
    method: 'get'
  });
}

// 获取操作日志
export function getOperateLog(data) {
  return request({
    url: `/v1/statistics/operateLog/list?keywordName=${data.keywordName}&keyword=${data.keyword}&model=${data.model}&content=${data.content}&startTime=${data.startTime}&endTime=${data.endTime}&page=${data.pageNum}&size=${data.pageSize}`,
    method: 'get'
  });
}
